package com.tbit.uqbike.object.pojo;

import com.tbit.uqbike.annos.Excel;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

/**
 * 批量更新站点容量和误差范围实体类
 *
 * @Author:BUGTian
 * @DATE: 2022/7/28
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@Accessors(chain = true)
public class BatchUpdateParkPoint {

    /**
     * 区域id
     */
    private Integer adAccountId;
    /**
     * 站点名称
     */
    @Excel(name = "站点名称", sort = 1)
    private String siteName;
    /**
     * 误差范围
     */
    @Excel(name = "误差范围", sort = 2)
    private Integer allowRange;
    /**
     * 高精度误差范围
     */
    @Excel(name = "高精度误差范围(cm)", sort = 2)
    private Integer highPrecisionAllowRange;
    /**
     * 站点容量
     */
    @Excel(name = "站点容量", sort = 3)
    private Integer capacity;

    @Excel(name = "营运开关", sort = 4, readConverterExp = "true=开启,false=关闭")
    private Boolean enable;

    /**
     * 站点经纬度集合
     */
    @Excel(name = "站点经纬度集合", sort = 5)
    private String exportPoints;


    private String points;

    private String pointsC;

    private Integer siteType;


    public BatchUpdateParkPoint(Integer adAccountId, String siteName, Integer allowRange, Integer capacity, Boolean enable, String points, Integer highPrecisionAllowRange) {
        this.adAccountId = adAccountId;
        this.siteName = siteName;
        this.allowRange = allowRange;
        this.capacity = capacity;
        this.enable = enable;
        this.points = points;
        this.highPrecisionAllowRange = highPrecisionAllowRange;
    }
}
